// 用户
import userRouter from './user.js'
// 角色
import roleRouter from './role.js'
// 菜单
import menuRouter from './menu.js'
// 字典
import directionaryRouter from './dictionary.js'

export default (app) => {
  app.use('/api/user', userRouter)

  app.use('/api/role', roleRouter)

  app.use('/api/menu', menuRouter)

  app.use('/api/enum', directionaryRouter)
}
